package com.cyx.nutz.sys.filter;

import com.alibaba.fastjson.JSON;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.nutz.mvc.ActionContext;
import org.nutz.mvc.ActionFilter;
import org.nutz.mvc.View;

/**
 * Created by Alan on 15/9/15.
 */
public class TestFilter  implements ActionFilter {
    private static final Log log = Logs.get();
    @Override
    public View match(ActionContext actionContext) {
        log.info(JSON.toJSON(actionContext.getIoc().getNames()));
        log.info(actionContext.getPath());
        return null;
    }
}
